import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: () => import('../views/Home.vue')
    },
    {
      path: '/components',
      name: 'components',
      component: () => import('../views/Components.vue')
    },
    {
      path: '/builder',
      name: 'builder',
      component: () => import('../views/Builder.vue')
    },
    {
      path: '/result',
      name: 'result',
      component: () => import('../views/Result.vue')
    },
    {
      path: '/auth',
      name: 'auth',
      component: () => import('../views/AuthPage.vue')
    },
    {
      path: '/vip',
      name: 'vip',
      component: () => import('../views/VipPage.vue')
    }
  ]
})

export default router
